﻿using CasignDesignGA.Casign;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CasignDesignGA.Casing
{
    class CasingCatalog
    {
        private static CasingCatalog instance;

        private List<CasingUnit> catalog;

        public List<CasingUnit> Catalog
        {
            get { return catalog; }
            set { catalog = value; }
        }

        private CasingCatalog() {
            this.catalog = new List<CasingUnit>();        
        }

        public static CasingCatalog Instance
        {
           get 
           {
              if (instance == null)
               {
                   instance = new CasingCatalog();
               }
               return instance;
             }
         }


    }
}
